package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开放预约日对象 hospital_subscribe_schedule_days
 * 
 * @author ruoyi
 * @date 2025-04-28
 */
public class HospitalSubscribeScheduleDays extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 可预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "可预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 0停约 1可约 */
    @Excel(name = "0停约 1可约")
    private Integer enableReservation;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setEnableReservation(Integer enableReservation) 
    {
        this.enableReservation = enableReservation;
    }

    public Integer getEnableReservation() 
    {
        return enableReservation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("date", getDate())
            .append("enableReservation", getEnableReservation())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
